<%@page import="itsm.isperp.framework.core.context.ContextHolder"%><%@ page
	language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
  String path = request.getContextPath();
  String basePath = ContextHolder.getWebServerName(request);
%>

<div data-role="content" class="ui-content" role="main">


	<form method="post" action="<%=basePath%>api/wechat/setting/save">
		<input type="text" style="display: none" name="openid"
			value="${openid}" /> <input type="hidden" name="registerType"
			value="1" />
		<div class="box">

			<div class="weui-cell ">
				<div class="weui-cell__hd">
					<label class="weui-label">账号</label>
				</div>
				<div class="weui-cell__bd weui-cell_primary">
					<input id="accountId" name="accountId" class="weui-input"
						type="text" placeholder="请输入账号">
				</div>
				<div class="weui-cell_ft" style="display: none">
					<i class="weui_icon_warn"></i>
				</div>
			</div>

			<div class="weui-cell ">
				<div class="weui-cell__hd">
					<label class="weui-label">密码</label>
				</div>
				<div class="weui-cell__bd weui-cell_primary">
					<input id="password" name="password" class="weui-input" type="text"
						placeholder="请输入密码">
				</div>
				<div class="weui-cell_ft" style="display: none">
					<i class="weui_icon_warn"></i>
				</div>
			</div>

			<div>
				<button class="weui-btn weui-btn_primary" type="submit"
					onclick="javascript:return $(form).valid();">提交</button>
			</div>
		</div>
	</form>
	<script type="text/javascript">
	document.title="绑定账号";
	</script>
</div>
